package com.yyg.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fasterxml.jackson.databind.ser.Serializers;
import com.yyg.entity.MainMenu;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface MenuDao extends BaseMapper<MainMenu> {
//    @Select("select mainmenu.*,submenu.id as sid,submenu.title as stitle,submenu.path as spath from mainmenu,submenu where submenu.mid=mainmenu.id")
    public List<MainMenu> getlist();
}
